package com.yoyosys.echo.manager.cluster.po;

import lombok.Data;


import javax.persistence.*;

/**
 * @ClassName: TaskInstance
 * @Description: 任务实例
 * @Date: 2021/1/5 10:05
 */

@Table(name = "task_instance")
@Data
public class TaskInstance {

    @Column(name = "id")
    private Integer id;

    @Column(name = "unit_proc_id")
    private String unitProcId;

    @Column(name = "unit_code")
    private String unitCode;

    @Column(name = "batch_no")
    private String batchNo;

    @Column(name = "create_date")
    private String createDate;

    @Column(name = "start_date")
    private String startDate;

    @Column(name = "lastup_date")
    private String lastUpdateDate;

    @Column(name = "message")
    private String message;

    @Column(name = "state")
    private String state;
    @Column(name = "exec_logs" ,columnDefinition = "TEXT")
    private String dependencys;

    @Column(name = "request_id")
    private String requestId;
}
